package com.han.hotelplat.pojo.emscheduling;

import java.util.Date;

/**
 * Emtask entity. @author MyEclipse Persistence Tools
 */

public class Emscheduling implements java.io.Serializable {

	// Fields

	/**   
		 *   
		 */   
		
	private static final long serialVersionUID = 8422401797806393311L;
	
	private Integer id;
	private String emid;//帮工Id
	private String taskid;//任务Id
	private Date workdate;//日期
	
	private Integer tasktype;//任务类型0定点任务，1临时任务
	
	public Emscheduling(String emid, String taskid, Date workdate) {
		this.emid = emid;
		this.taskid = taskid;
		this.workdate = workdate;
	}
	
	public Emscheduling(String emid, String taskid, Date workdate, Integer tasktype) {
		this.emid = emid;
		this.taskid = taskid;
		this.workdate = workdate;
		this.tasktype = tasktype;
	}
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getEmid() {
		return emid;
	}
	public void setEmid(String emid) {
		this.emid = emid;
	}
	public String getTaskid() {
		return taskid;
	}
	public void setTaskid(String taskid) {
		this.taskid = taskid;
	}
	public Date getWorkdate() {
		return workdate;
	}
	public void setWorkdate(Date workdate) {
		this.workdate = workdate;
	}

	public Integer getTasktype() {
		return tasktype;
	}

	public void setTasktype(Integer tasktype) {
		this.tasktype = tasktype;
	}
	
}